package lpca.steps 
{
	import kioschool.model.AbstractStep;
	import kioschool.view.IStepView;	
	import lpca.controllers.SecondaryController;		
	import lpca.controllers.LpcaController;
	import lpca.view.ViewStep
	import lpca.model.LpcaModel;
	/**
	 * ...
	 * @author D.Shakshin
	 */
	public class FinishStep extends LpcaAbstractStep
	{		
		
		public override function next():AbstractStep{
			return null;
		}
		
		public override function checkInput():String	
		{
			return null;
		}
		
		public override function oracle():void
		{
		}
		
		public override function antiOracle():void
		{
			
		}
		
		public override function get comment():String{
			return "минимальный путь до           сундука найден."
		}
		
		public override function update():void
		{			
			var selector: Vector.<int> = new Vector.<int>;
			selector.push(LpcaModel.visible);		
			SecondaryController.instance.model.setAllCells(selector, true);						
			trace("Алгоритм завершён");
		}
		
		public function FinishStep() 
		{			
			trace("последний этап");						
		}
	}

}